import { createApp } from 'vue'
import App from './App.vue'
import Store from './store/store'
import Router from './router/router'
import Mitt from 'mitt'
import "normalize.css";
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


const app = createApp(App)

app.config.globalProperties.$Bus = Mitt();

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}


app.use(Store).use(Router).mount('#app')
